From: Giovanni Campagna Date: Tue, 10 Jul 2012 17:24:50 +0000 (+0200) Subject: Don't build documentation for the recorder when it's disabled X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6356 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3a48daaa64f88b129e6438cc97f60866af0f218c;p=gnome-shell.git Don't build documentation for the recorder when it's disabled When building with gtk-doc but no recorder, build fails trying to get the GType of ShellRecorder. Fix it by skipping its header file when disabled. --- diff --git a/docs/reference/shell/Makefile.am b/docs/reference/shell/Makefile.am index b9f1ba475..b79bc7be2 100644 --- a/docs/reference/shell/Makefile.am +++ b/docs/reference/shell/Makefile.am @@ -68,6 +68,10 @@ IGNORE_HFILES= \ gactionobserver.h \ shell-recorder-src.h +if !BUILD_RECORDER +IGNORE_HFILES += shell-recorder.h +endif + # Images to copy into HTML directory. # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png HTML_IMAGES=